import https from '@/plugins/luch-request_0.0.7/request'
// ===工地管理==
// 工地列表
export const getList = (data) => {
	return https.get('/apihkds/api/site/getList', data)
}
// 工地列表数量
export const getSiteNum = (data) => {
	return https.get('/apihkds/api/site/getSiteNum', data)
}
// 推广获客
export const getPoster = (data) => {
	return https.get('/apihkds/api/site/getPoster', data)
}

// 上架工地
export const putOn = (data) => {
	return https.get('/apihkds/api/site/putOn', data)
}

// 下架工地
export const putOff = (data) => {
	return https.get('/apihkds/api/site/putOff', data)
}

// 删除工地
export const delSite = (data) => {
	return https.get('/apihkds/api/site/delSite', data)
}
// 置顶工地
export const topSite = (data) => {
	return https.get('/apihkds/api/site/topSite', data)
}
// 装修风格列表
export const getDecorateStyle = (data) => {
	return https.get('/apihkds/api/site/getDecorateStyle', data)
}
// 筛选时取用户工地所在城市的区和小区
export const getCityCommunity = (data) => {
	return https.get('/apihkds/api/site/getCityCommunity', data)
}
